package io.datajek.springbasics.movierecommendersystem.lesson7;



import io.datajek.springbasics.movierecommendersystem.lesson5.Filter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component("CBF")
public class ContentBasedFilter implements Filter {

    @Autowired
    @Qualifier("contentBasedFilter")
    public void setFilter(Filter filter){

    }

    public String[] getRecommendations(String movie) {

        return new String[] {"Happy Feet","Ice Age","Shark Tale"};
    }
}
